package com.makelove.bar.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.Value;

/**
 * @program: bar
 * @description:
 * @author: 索腾龙
 * @create: 2021-04-28 17:30
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
    @TableId(type = IdType.AUTO)
    private Integer id;           //id
    private String  userRealname; //真实姓名
    private String  userName;     //用户名
    private String  userPassword; //密码
    private String  userSex;      //性别
    private Integer userAge;      //年龄
    private String  userPhone;    //手机号
    private String  userIdcard;   //身份证
    private String  userAddress;  //住址
    private Integer userRoleid;   //角色
}